package com.shop.service.book;

import com.shop.pajo.Book;

import java.sql.Connection;
import java.util.List;

public interface IBookService {
    public List<Book> query(String queryName,String queryCode);
    public int add(Book book);

    public Book getBookById(String id);

    public int update(Book book,String realPath);

    public int delete(String id,String realPath);

    public List<Book> queryByClass(String bClass);
}
